package dp.metel.likeme.testing.service;

import java.util.HashMap;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.JSONValue;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import dp.metel.likeme.testing.model.bean.Ting;

@Service("TestingService")
public class TestingServiceImpl implements TestingService {
	private static final Logger logger= LoggerFactory.getLogger(TestingServiceImpl.class);

	@Override
	public String getPingTing() throws Exception {
		
		HashMap<String,String> map = new HashMap<String,String>(); 
		map.put("test_id", "ttttt_id");
		map.put("nm","test1"); 
		map.put("version","1.0.1 release"); 
		
		
		JSONObject obj = new JSONObject();
		obj.putAll(map);
		 
		return obj.toJSONString();
	}
	

}
